package com.roncoo.education.course.service.admin.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * ADMIN-实验分数
 * </p>
 *
 * @author wujing
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "AdminExperimentScoreEditReq", description = "ADMIN-实验分数修改")
public class AdminExperimentScoreEditReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "实验空间用户账号")
    private String username;

    @ApiModelProperty(value = "实验名称：用户学习的实验名称（100字以内）")
    private String title;

    @ApiModelProperty(value = "实验状态：1 - 完成；2 - 未完成")
    private Integer status;

    @ApiModelProperty(value = "实验成绩：0 ~100，百分制")
    private Integer score;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "实验开始时间：13位时间戳")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "实验结束时间：13位时间戳")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "实验用时：非零整数，单位秒")
    private Integer timeUsed;

    @ApiModelProperty(value = "接入平台编号：由“实验空间”分配给实验教学项目的编号")
    private String appid;

    @ApiModelProperty(value = "实验平台实验记录ID：平台唯一且由大小写字母、数字、“_”组成")
    private String originId;

    @ApiModelProperty(value = "分组标识，最多20个字符")
    private String groupId;

    @ApiModelProperty(value = "分组名称，最多20个字符")
    private String groupName;

    @ApiModelProperty(value = "组里的角色，最多20个字符")
    private String roleInGroup;

    @ApiModelProperty(value = "组员名称标识")
    private String groupMembers;

    @ApiModelProperty(value = "实验平台自定义扩展数据")
    private String extData;
}
